package com.xyh.flowershop.vo.resp.comment;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author 小约翰可汗
 * @className CommentRespVo
 * @createTime 2024/6/521:17
 */
@Data
public class CommentRespVo {
    @Schema(description = "编号")
    private String id;

    @Schema(description = "商品编号")
    private String goodId;

    @Schema(description = "评论内容")
    private String content;

    @Schema(description = "评论时间")
    private String publishTime;

    @Schema(description = "用户头像")
    private String userAvatar;

    @Schema(description = "用户昵称")
    private String userName;

    @Schema(description = "是否匿名")
    private Boolean isAnonymous;

    @Schema(description = "点赞数")
    private Integer likeCount;

    @Schema(description = "父评论编号")
    private String parentId;

    @Schema(description = "被回复编号")
    private String replyId;

    @Schema(description = "被回复的用户昵称")
    private String replyUserName;
}
